package org.example;

public class MainMavSdk {
    public static void main(String[] args) throws InterruptedException {
        io.mavsdk.System system = new io.mavsdk.System("localhost",14550);
        system.getAction().getTakeoffAltitude()
                .doOnSuccess(
                        result -> System.out.println(result)
                ).test().await();
    }
}
